package br.com.dev.tcc.view.utilitarios;

import android.os.Bundle;
import br.com.dev.tcc.R;
import br.com.dev.tcc.builder.UtilitariosViewsBuilder;
import br.com.dev.tcc.view.DefaultSupportActionBarActivity;

public class UtilitariosActivity extends DefaultSupportActionBarActivity {

	private UtilitariosViewsBuilder builder;
	private UtilitariosView view;

	@Override
	protected void onCreate(Bundle savedInstanceState) {

		super.onCreate(savedInstanceState);
		setContentView(R.layout.utilitarios);
		setActionBar(R.string.utilitarios, R.drawable.utilitarios);
		setViewBuilder();
		setView();
	}

	private void setViewBuilder() {

		builder = new UtilitariosViewsBuilder(this);
	}

	private void setView() {

		view = new UtilitariosView(this);
		view.setViews(builder.getViews());
	}
}
